package com.iot.device.domain;

import com.iot.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.iot.common.core.domain.BaseEntity;

/**
 * 压力传感器设备参数对象 t_pressure_sensor_param
 *
 * @author iot
 * @date 2023-07-04
 */
public class PressureSensorParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 设备序列号 */
    @Excel(name = "设备序列号")
    private String sn;

    /** 高高限报警阈值 */
    @Excel(name = "高高限报警阈值")
    private Double limitAlarmHh;

    /** 高限报警阈值 */
    @Excel(name = "高限报警阈值")
    private Double limitAlarmH;

    /** 低限报警阈值 */
    @Excel(name = "低限报警阈值")
    private Double limitAlarmL;

    /** 低低限报警阈值 */
    @Excel(name = "低低限报警阈值")
    private Double limitAlarmLl;

    /** 量程低值 */
    @Excel(name = "量程低值")
    private Double rangeL;

    /** 量程高值 */
    @Excel(name = "量程高值")
    private Double rangeH;

    /** 压力实测值 */
    @Excel(name = "压力实测值")
    private Double pressValue;

    /** 电磁阀通断控制0-关，1-开 */
    @Excel(name = "电磁阀通断控制0-关，1-开")
    private Integer solenoidValveOnOff;

    /** 电磁阀状态 0-关，1-开 */
    @Excel(name = "电磁阀状态 0-关，1-开")
    private Integer solenoidValveOnState;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getSn()
    {
        return sn;
    }
    public void setLimitAlarmHh(Double limitAlarmHh)
    {
        this.limitAlarmHh = limitAlarmHh;
    }

    public Double getLimitAlarmHh()
    {
        return limitAlarmHh;
    }
    public void setLimitAlarmH(Double limitAlarmH)
    {
        this.limitAlarmH = limitAlarmH;
    }

    public Double getLimitAlarmH()
    {
        return limitAlarmH;
    }
    public void setLimitAlarmL(Double limitAlarmL)
    {
        this.limitAlarmL = limitAlarmL;
    }

    public Double getLimitAlarmL()
    {
        return limitAlarmL;
    }
    public void setLimitAlarmLl(Double limitAlarmLl)
    {
        this.limitAlarmLl = limitAlarmLl;
    }

    public Double getLimitAlarmLl()
    {
        return limitAlarmLl;
    }
    public void setRangeL(Double rangeL)
    {
        this.rangeL = rangeL;
    }

    public Double getRangeL()
    {
        return rangeL;
    }
    public void setRangeH(Double rangeH)
    {
        this.rangeH = rangeH;
    }

    public Double getRangeH()
    {
        return rangeH;
    }
    public void setPressValue(Double pressValue)
    {
        this.pressValue = pressValue;
    }

    public Double getPressValue()
    {
        return pressValue;
    }
    public void setSolenoidValveOnOff(Integer solenoidValveOnOff)
    {
        this.solenoidValveOnOff = solenoidValveOnOff;
    }

    public Integer getSolenoidValveOnOff()
    {
        return solenoidValveOnOff;
    }
    public void setSolenoidValveOnState(Integer solenoidValveOnState)
    {
        this.solenoidValveOnState = solenoidValveOnState;
    }

    public Integer getSolenoidValveOnState()
    {
        return solenoidValveOnState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sn", getSn())
                .append("limitAlarmHh", getLimitAlarmHh())
                .append("limitAlarmH", getLimitAlarmH())
                .append("limitAlarmL", getLimitAlarmL())
                .append("limitAlarmLl", getLimitAlarmLl())
                .append("rangeL", getRangeL())
                .append("rangeH", getRangeH())
                .append("pressValue", getPressValue())
                .append("solenoidValveOnOff", getSolenoidValveOnOff())
                .append("solenoidValveOnState", getSolenoidValveOnState())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
